package com.community.body.domain;

import com.community.common.annotation.Excel;
import com.community.common.core.domain.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 投诉建议 对象 zy_complaint_suggest
 * 
 * @author community
 * @date 2024-04-16
 */
public class ZyComplaintSuggest extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long complaintSuggestId;

    /** 小区id */
    @JsonSerialize(using = ToStringSerializer.class)
    @Excel(name = "小区id")
    private Long communityId;

    /** 类型(投诉、建议) */
    @Excel(name = "类型(投诉、建议)")
    private String complaintSuggestType;

    /** 内容 */
    @Excel(name = "内容")
    private String complaintSuggestContent;

    /**  状态*/
    @Excel(name = "审核状态")
    private Integer status;

    /** 投诉人ID */
    @JsonSerialize(using = ToStringSerializer.class)
    @Excel(name = "投诉人ID")
    private Long userId;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public void setComplaintSuggestId(Long complaintSuggestId)
    {
        this.complaintSuggestId = complaintSuggestId;
    }

    public Long getComplaintSuggestId() 
    {
        return complaintSuggestId;
    }
    public void setCommunityId(Long communityId) 
    {
        this.communityId = communityId;
    }

    public Long getCommunityId() 
    {
        return communityId;
    }
    public void setComplaintSuggestType(String complaintSuggestType) 
    {
        this.complaintSuggestType = complaintSuggestType;
    }

    public String getComplaintSuggestType() 
    {
        return complaintSuggestType;
    }
    public void setComplaintSuggestContent(String complaintSuggestContent) 
    {
        this.complaintSuggestContent = complaintSuggestContent;
    }

    public String getComplaintSuggestContent() 
    {
        return complaintSuggestContent;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("complaintSuggestId", getComplaintSuggestId())
            .append("communityId", getCommunityId())
            .append("complaintSuggestType", getComplaintSuggestType())
            .append("complaintSuggestContent", getComplaintSuggestContent())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("userId", getUserId())
            .toString();
    }
}
